package com.etiko.wm;

import com.etiko.wm.state.client.maingame.ClientMainGameState;
import com.jmex.game.StandardGame;
import com.jmex.game.state.GameStateManager;

public class StartWalkingMan {

	/**
	 * @param args
	 * @throws InterruptedException
	 */
	public static void main(String[] args) throws InterruptedException {
		StandardGame standardGame = new StandardGame("Walking Man");
		standardGame.start();

		// Add states
		ClientMainGameState clientMainGameState = new ClientMainGameState(
				"clientMainGameState");
		GameStateManager.getInstance().attachChild(clientMainGameState);
		clientMainGameState.setActive(true);
	}

}
